package org.jeecg.modules.room.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 客房类型
 * @Author: jeecg-boot
 * @Date:   2023-12-01
 * @Version: V1.0
 */
@Data
@TableName("room_type")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="room_type对象", description="客房类型")
public class RoomType implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**房类编号*/
	@Excel(name = "房类编号", width = 15)
    @ApiModelProperty(value = "房类编号")
    private String roomTypeCode;
	/**房类名称*/
	@Excel(name = "房类名称", width = 15)
    @ApiModelProperty(value = "房类名称")
    private String roomTypeName;
	/**房价*/
	@Excel(name = "房价", width = 15)
    @ApiModelProperty(value = "房价")
    private Double roomPrice;
	/**早餐份数*/
	@Excel(name = "早餐份数", width = 15)
    @ApiModelProperty(value = "早餐份数")
    private Integer breakfastNum;
	/**是否作为钟点房*/
	@Excel(name = "是否作为钟点房", width = 15, dicCode = "is_true")
	@Dict(dicCode = "is_true")
    @ApiModelProperty(value = "是否作为钟点房")
    private String isClockRoom;
	/**钟点房房价*/
	@Excel(name = "钟点房房价", width = 15)
    @ApiModelProperty(value = "钟点房房价")
    private Double clockRoomPrice;
	/**是否作为长包房*/
	@Excel(name = "是否作为长包房", width = 15, dicCode = "is_true")
	@Dict(dicCode = "is_true")
    @ApiModelProperty(value = "是否作为长包房")
    private String isCoupeRoom;
	/**长包房房价*/
	@Excel(name = "长包房房价", width = 15)
    @ApiModelProperty(value = "长包房房价")
    private Double coupeRoomPrice;
	/**是否作为婚房*/
	@Excel(name = "是否作为婚房", width = 15, dicCode = "is_true")
	@Dict(dicCode = "is_true")
    @ApiModelProperty(value = "是否作为婚房")
    private String isWeddingRoom;
	/**婚房价格*/
	@Excel(name = "婚房价格", width = 15)
    @ApiModelProperty(value = "婚房价格")
    private Double weddingRoom;
    /**允许超定数*/
    @Excel(name = "允许超定数", width = 15)
    @ApiModelProperty(value = "允许超定数")
    private Integer overdeterminedNum;
}
